home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Add-Ons / MPW / MPW noweb 2.7 / src / xdoc / cpif.1 next >
Encoding:
Text File  |  1995-05-30  |  668 b   |  32 lines  |  [TEXT/MPS ]

  1. .TH CPIF 1 "local 9/10/93"
  2. .SH NAME
  3. cpif \- selectively update files
  4. .SH SYNOPSIS
  5. .B cpif
  6. [\fB-eq\fP|\fB-ne\fP] file ...
  7. .SH DESCRIPTION
  8. .I cpif
  9. is an auxiliary tool for use with 
  10. .I notangle(1)
  11. and
  12. .I make(1).
  13. .I cpif
  14. compares its standard input to each of the named files,
  15. overwriting the file if the comparison succeeds or if
  16. the named file does not exist.
  17. If neither
  18. .B -eq
  19. or 
  20. .B -ne
  21. is specified, the default is
  22. .B -ne.
  23. Typical usage is in the following default rule, suitable for use in a Makefile.
  24. .br
  25.  .nw.h: ; notangle -Rheader $*.nw | cpif $*.h
  26. .br
  27. .SH SEE ALSO
  28. .I notangle(1)
  29. .SH AUTHOR
  30. Norman Ramsey, Bellcore.
  31. Internet address \fBnorman@bellcore.com\fP.
  32.